<template>
    <view class="m-login">
        <van-overlay :show="show">
            <view class="wrapper">
                <view class="block" catch:tap="noop">
                    <view class="b-title-one">
                        暂未开放，敬请期待！
                    </view>
<!--                    <view class="b-title-two">-->
<!--                        您尚未登录账号，暂无权限查看此页面-->
<!--                    </view>-->
                    <view class="b-btn" @tap="handleGoHome()">
                        确定
                    </view>
                </view>
            </view>
        </van-overlay>
    </view>
</template>


<script>
    export default{
        name:"m-needWait",
        data(){
            return{
                show:true
            }
        },
        methods:{
            onClickShow() {
                this.show=true
                console.log(this.show)
            },
            onClickHide(){
                this.show=false
            },
            handleGoHome(){
                uni.switchTab({
                    url: '/pages/main/home'
                });
            }
        }
    }
</script>

<style lang="less" scoped>
    .m-login{
        z-index: 99;
        .wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .block {
            width: 500rpx;
            height: 600rpx;
            border-radius: 50rpx;
            background-color: #fff;
            .b-title-one{
                margin-top: 100rpx;
                font-size: 30rpx;
                color: #333333;
                text-align: center;
                line-height: 100rpx;
            }
            .b-title-two{
                font-size: 24rpx;
                color: gray;
                text-align: center;
                line-height: 100rpx;
            }
            .b-btn{
                width: 160rpx;
                height: 60rpx;
                background:linear-gradient(to top,rgba(236,69,55,1),rgba(251,171,102,1));
                color: #ffffff;
                line-height: 60rpx;
                border-radius: 30rpx;
                text-align: center;
                font-size: 26rpx;
                margin: 100rpx auto 0;
            }
        }
    }
</style>
